//
//  MoveCell.m
//  GSG
//
//  Created by dllo on 15/4/30.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MoveCell.h"

@implementation MoveCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.view = [[UIView alloc] init];
        [self.contentView addSubview:self.view];
//        self.view.alpha = 20;
//        self.view.backgroundColor = [UIColor colorWithWhite:0 alpha:0.3];
        [_view release];
        
        self.mv_nameLabel = [[UILabel alloc] init];
        [self.view addSubview:self.mv_nameLabel];
        [_mv_nameLabel release];
        
        
        
        self.singerLabel = [[UILabel alloc] init];
        [self.view addSubview:self.singerLabel];
        self.singerLabel.font = [UIFont systemFontOfSize:18];
        [_singerLabel release];
        
        
        
        self.pic_urlView = [[UIImageView alloc] init];
        [self.view addSubview:self.pic_urlView];
        self.pic_urlView.contentMode = UIViewContentModeScaleAspectFill;
        self.pic_urlView.autoresizesSubviews = YES;
        self.pic_urlView.clipsToBounds = YES;
        [_pic_urlView release];
        
        
//        self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bujing.png"]];
        
        
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.view.frame = CGRectMake(0, 0, self.contentView.frame.size.width, 100);
    //    self.pic_urlView.frame = CGRectMake(5, 5, 90, 90);
    self.singerLabel.frame = CGRectMake(100, 50, 200,40);
    self.mv_nameLabel.frame = CGRectMake(100, 10, 250,40);
    self.pic_urlView.frame = CGRectMake(5, 5, 90, 90);

    
}

@end
